From 1fcd99fea558ba40e52721b85e5d3bdff00d2a70 Mon Sep 17 00:00:00 2001 From: "smh22@labyrinth.cl.cam.ac.uk" Date: Tue, 14 Oct 2003 10:42:54 +0000 Subject: [PATCH] bitkeeper revision 1.513 (3f8bd32enJosHd07EPUZKBgRuaErAw) xen_log.c: now compiles - still not tested --- tools/misc/xen_log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/misc/xen_log.c b/tools/misc/xen_log.c index 5adfa52fe5..d5e2d1fa50 100644 --- a/tools/misc/xen_log.c +++ b/tools/misc/xen_log.c @@ -80,15 +80,15 @@ void process() curport = ntohs(from.sin_port); if(lastport != curport) { op.u.getdominfo.domain = (int)curport; - if ( do_dom0_op(&op) < 0 ) + if ( do_dom0_op(&op) < 0 ) { log("Error resolving domain name\n"); } else { lastport = curport; } } - sprintf(obuf, "[%s] %s", op.u.getdominfo.name, curport, buf); - log(obuf); + sprintf(obuf, "[%s] %s", op.u.getdominfo.name, buf); + log(obuf); fromlen = sizeof(from); } -- 2.30.2